package com.baizhi.springmvc.dao;


import com.baizhi.springmvc.entity.Category;

import java.util.List;

public interface CategoryDao {
    List<Category> selectAllFirst();

    List<Category> selectCateByFirstLevel(Integer categoryid);

    List<Category> selectCateByTwoLevel(Integer categoryid);

    Category selectParentCategory(Integer categoryid);

    Category selectCategoryName(Integer categoryid);

}
